import React, {PureComponent} from 'react';
import "./index.css";
import {Col, Row} from "antd";
import loginImg from "./loginImg.81783432.png"; // 确保图片路径正确
import RightCol from "./rightCol";

class Demo1 extends PureComponent {
  render() {
    return (
      <div className="left_container">
        <Row>
          <Col span={12}>
            <div className="left">
              <img src={loginImg} className="left_img" alt="Login"/>
            </div>
          </Col>
          <Col span={12}>
            <div className="right">
              <div className="div_title">
                医院陪护系统管理平台
              </div>
              <div className="div_form">
                <RightCol/>
              </div>
              <div className="div_copyright">
                &copy; {new Date().getFullYear()} SWUST. All rights reserved.
              </div>
            </div>
          </Col>
        </Row>
      </div>
    );
  }
}

export default Demo1;
